package com.qf.service.impl;

import com.qf.service.PermissionService;

import java.util.HashSet;
import java.util.Set;

/**
 * @author zjw
 * @description
 * @date 2021/10/13 16:33
 */
public class PermissionServiceImpl implements PermissionService {
    @Override
    public Set<String> findPermissionsByRoles(Set<String> roles) {
        Set<String> permissions = new HashSet<>();
        permissions.add("user:delete");
        permissions.add("item:insert");
        permissions.add("code:update");
        return permissions;
    }
}
